package com.yxh.sse.service;

import java.util.List;

import com.yxh.sse.dao.UserInfoDao;
import com.yxh.sse.dao.UserInfoDaoImpl;
import com.yxh.sse.po.SysUserInfor;



public class UserInfoSerImpl implements UserInfoSer {
	
	private UserInfoDao userInfoDao ;

	public void setUserInfoDao(UserInfoDao userInfoDao) {
		this.userInfoDao = userInfoDao;
	}

	@Override
	public List login(String username, String password) {
       return userInfoDao.login(username, password);
	}

	@Override
	public void saveUser(SysUserInfor sys) {
		userInfoDao.saveUserInfo(sys);
	}

	@Override
	public List<SysUserInfor> reviewUser() {
		return userInfoDao.reviewUserAll();
		
	}

}
